﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Workflows.Components.Entities.Relations.InferredAssociations
{
    public interface IClusterCalculator
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="metadata"></param>
        /// <param name="entities"></param>
        /// <param name="clusteredEntities">association [0,1] of entity to cluster</param>
        void TryCluster(EntityMetaData metadata, List<Entity> entities,
            ref Dictionary<Cluster, Dictionary<Entity, double>> clusteredEntities);
    }
}
